package org.activequant.util.ib;

public enum IBSubCategory {
	
	FINANCE_OTHER_SERVICES("Finance-Other Services", IBCategory.DIVERSIFIED_FINANCIAL_SERVICES),
	INVESTMENT_MANAGEMENT_ADVISEMENT_SERVICES("Invest Mgmnt/Advis Serv", IBCategory.DIVERSIFIED_FINANCIAL_SERVICES),
	FINANCE_INVESTMENT_BANKER_BROKER("Finance-Invest Bnkr/Brkr", IBCategory.DIVERSIFIED_FINANCIAL_SERVICES),
	FINANCE_LEASING_COMPANY("Finance-Leasing Compan", IBCategory.DIVERSIFIED_FINANCIAL_SERVICES),
	DIVERSIFIED_FINANCIAL_SERVICES("Diversified Finan Serv", IBCategory.DIVERSIFIED_FINANCIAL_SERVICES),
	FINANCE_CREDIT_CARD("Finance-Credit Card", IBCategory.DIVERSIFIED_FINANCIAL_SERVICES),
	SPECIAL_PURPOSE_ENTITY("Special Purpose Entity", IBCategory.DIVERSIFIED_FINANCIAL_SERVICES),
	FINANCE_MORTGAGE_LOAN_BANKER("Finance-Mtge Loan/Banker", IBCategory.DIVERSIFIED_FINANCIAL_SERVICES),
	FINANCE_COMMERCIAL("Finance-Commercial", IBCategory.DIVERSIFIED_FINANCIAL_SERVICES),
	FINANCE_CONSUMER_LOANS("Finance-Consumer Loans", IBCategory.DIVERSIFIED_FINANCIAL_SERVICES),
	FINANCE_AUTO_LOANS("Finance-Auto Loans", IBCategory.DIVERSIFIED_FINANCIAL_SERVICES),
	DERIVATIVES("Derivatives", IBCategory.DIVERSIFIED_FINANCIAL_SERVICES),
	
	INVESTMENT_COMPANIES("Investment Companies", IBCategory.INVESTMENT_COMPANIES),
	INVESTMENT_COMPANIES_RESOURCES("Invest Comp-Resources", IBCategory.INVESTMENT_COMPANIES),
	INTERNET_INVESTMENT("Internet Investment", IBCategory.INVESTMENT_COMPANIES),
	CAPITAL_POOLS("Capital Pools", IBCategory.INVESTMENT_COMPANIES),
	
	BANKS("Banks", IBCategory.BANKS),
	COMMERCIAL_BANKS_NON_US("Commer Banks Non-US", IBCategory.BANKS),
	DIVERSIFIED_BANKING_INSTITUTIONS("Diversified Banking Inst", IBCategory.BANKS),
	MORTGAGE_BANKS("Mortgage Banks", IBCategory.BANKS),
	REGIONAL_BANKS_NON_US("Regional Banks-Non US", IBCategory.BANKS),
	COMMERCIAL_BANKS_EASTERN_US("Commercial Banks-Eastern US", IBCategory.BANKS),
	COMMERCIAL_BANKS_SOUTHERN_US("Commercial Banks-Southern US", IBCategory.BANKS),
	COMMERCIAL_BANKS_WESTERN_US("Commercial Banks-Western US", IBCategory.BANKS),
	COMMERCIAL_BANKS_CENTRAL_US("Commercial Banks-Central US", IBCategory.BANKS),
	SUPER_REGIONAL_BANKS_US("Super-Regional Banks-US", IBCategory.BANKS),
	MONEY_CENTER_BANKS("Money Center Banks", IBCategory.BANKS),
	FIDUCIARY_BANKS("Fiduciary Banks", IBCategory.BANKS),
	CENTRAL_BANK("Central Bank", IBCategory.BANKS),
	SPECIAL_PURPOSE_BANKS("Special Purpose Banks", IBCategory.BANKS),
	COOPERATIVE_BANKS("Cooperative Banks", IBCategory.BANKS),
	
	REAL_ESTATE_MANAGEMENT_SERVICES("Real Estate Mgmnt/Servic", IBCategory.REAL_ESTATE),
	REAL_ESTATE_OPERATIONS_DEVELOPMENT("Real Estate Oper/Develop", IBCategory.REAL_ESTATE),
	PROPERTY_TRUST("Property Trust", IBCategory.REAL_ESTATE),
	HOUSING_AUTHORITY("Housing Authority", IBCategory.REAL_ESTATE),
	
	SAVINGS_AND_LOANS_THRIFTS_WESTERN_US("S&L/Thrifts-Western US", IBCategory.SAVINGS_AND_LOANS),
	SAVINGS_AND_LOANS_THRIFTS_CENTRAL_US("S&L/Thrifts-Central US", IBCategory.SAVINGS_AND_LOANS),
	SAVINGS_AND_LOANS_THRIFTS_EASTERN_US("S&L/Thrifts-Eastern US", IBCategory.SAVINGS_AND_LOANS),
	SAVINGS_AND_LOANS_THRIFTS_SOUTHERN_US("S&L/Thrifts-Southern US", IBCategory.SAVINGS_AND_LOANS),
	
	MULTI_LINE_INSURANCE("Multi-line Insurance", IBCategory.INSURANCE),
	LIFE_HEALTH_INSURANCE("Life/Health Insurance", IBCategory.INSURANCE),
	PROPERTY_CASUALTY_INSURANCE("Property/Casualty Ins", IBCategory.INSURANCE),
	REINSURANCE("Reinsurance", IBCategory.INSURANCE),
	INSURANCE_BROKERS("Insurance Brokers", IBCategory.INSURANCE),
	FINANCIAL_GUARANTEE_INSURANCE("Financial Guarantee Ins", IBCategory.INSURANCE),
	MUTUAL_INSURANCE("Mutual Insurance", IBCategory.INSURANCE),
	
	REITS_OFFICE_PROPERTY("REITS-Office Property", IBCategory.REITS),
	REITS_WAREHOUSE_INDUSTRY("REITS-Warehouse/Industr", IBCategory.REITS),
	REITS_DIVERSIFIED("REITS-Diversified", IBCategory.REITS),
	REITS_SHOPPING_CENTERS("REITS-Shopping Centers", IBCategory.REITS),
	REITS_SINGLE_TENANT("REITS-Single Tenant", IBCategory.REITS),
	REITS_APARTMENTS("REITS-Apartments", IBCategory.REITS),
	REITS_MORTGAGE("REITS-Mortgage", IBCategory.REITS),
	REITS_REGIONAL_MALLS("REITS-Regional Malls", IBCategory.REITS),
	REITS_HOTELS("REITS-Hotels", IBCategory.REITS),
	REITS_HEALTH_CARE("REITS-Health Care", IBCategory.REITS),
	REITS_MANUFACTURED_HOMES("REITS-Manufactured Homes", IBCategory.REITS),
	REITS_STORAGE("REITS-Storage", IBCategory.REITS),
	
	CLOSED_END_FUNDS("Closed-end Funds", IBCategory.CLOSED_END_FUNDS),
	
	//debt fund
	CORPORATE_PREFERRED_INVESTORS_GRADE("Corp/Pref-Inv Grade", IBCategory.DEBT_FUND),
	GOVERNMENT_AGENCY_LT("Government/Agency-LT", IBCategory.DEBT_FUND),
	GOVERNMENT_AGENCY_INTERMEDIATE_TERM("Govt/Agency-Inter Term", IBCategory.DEBT_FUND),
	GOVERNMENT_AGENCY_SHORT_TERM("Govt/Agency-Short Term", IBCategory.DEBT_FUND),
	GEO_FOCUS_DEBT("Geo Focus-Debt", IBCategory.DEBT_FUND),
	GOVERNMENT_CORPORATE("Goverment/Corporate", IBCategory.DEBT_FUND),
	GOVERNMENT_AGENCY("Goverment/Agency", IBCategory.DEBT_FUND),
	GLOBAL_DEBT("Global Debt", IBCategory.DEBT_FUND),
	SECTOR_FUND_DEBT("Sector Fund-Debt", IBCategory.DEBT_FUND),
	CORPORATE_PREFERRED("Corporate/Preferred", IBCategory.DEBT_FUND),
	GOVERNMENT_AGENCY_TARGET_TERM("Govt/Agency-Target Term", IBCategory.DEBT_FUND),
	ASSET_BLACKED_SECURITIES("Asset Blacked Securities", IBCategory.DEBT_FUND),
	CORPORATE_PREFERRED_HIGH_YIELD("Corp/Pref-High Yield", IBCategory.DEBT_FUND),
	MUNICIPAL("Municipal", IBCategory.DEBT_FUND),
	MUNICIPAL_CALIFORNIA("Muni-California", IBCategory.DEBT_FUND),
	MUNICIPAL_NEW_YORK("Muni-New York", IBCategory.DEBT_FUND),
	EMERGING_MARKET_DEBT("Emerging Market-Debt", IBCategory.DEBT_FUND),
	GOVERNMENT_AGENCY_INTERMEDIATE_LT("Govt/Agency-Inter/LT", IBCategory.DEBT_FUND),
	GOVERNMENT_AGENCY_ST_INTERMEDIATE("Govt/Agency-ST/Inter", IBCategory.DEBT_FUND),
	INDEX_FUND_DEBT("Index Fund-Debt", IBCategory.DEBT_FUND),
	
	TAXABLE_FIRST_TIER_MONEY_MARKET("Taxable First Tier-MMkt", IBCategory.MONEY_MARKET_FUND),
	
	REAL_ESTATE("Real Estate", IBCategory.REAL_ESTATE_FUND),
	
	SECTOR_FUND_REAL_ESTATE("Sector Fund-Real Estate", IBCategory.EQUITY_FUND),
	REGION_FUND_EUROPEAN("Region Fund-European", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_UK("Country Fund-U.K.", IBCategory.EQUITY_FUND),
	HEALTH_AND_BIOTECHNOLOGY("Health & Biotechnology", IBCategory.EQUITY_FUND),
	SECTOR_FUND_UTILITY("Sector Fund-Utility", IBCategory.EQUITY_FUND),
	GROWTH("Growth", IBCategory.EQUITY_FUND),
	GROWTH_MID_CAP("Growth-Mid Cap", IBCategory.EQUITY_FUND),
	VALUE_MID_CAP("Value-Mid Cap", IBCategory.EQUITY_FUND),
	INTERNATIONAL_EQUITY("International Equity", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_US("Country Fund-U.S.", IBCategory.EQUITY_FUND),
	REGION_FUND_EURO("Region Fund-Euro", IBCategory.EQUITY_FUND),
	SECTOR_FUND_TECHNOLOGY("Sector Fund-Technology", IBCategory.EQUITY_FUND),
	SECTOR_FUND_ENERGY("Sector Fund-Energy", IBCategory.EQUITY_FUND),
	FINANCIAL_SERVICES("Financial Services", IBCategory.EQUITY_FUND),
	INTERNET_AND_TELECOM("Internet & Telecom", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_GERMANY("Country Fund-Germany", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_SWITZERLAND("Country Fund-Switzerland", IBCategory.EQUITY_FUND),
	GLOBAL_EQUITY("Global Equity", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_MALAYSIA("Country Fund-Malaysia", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_NETHERLANDS("Country Fund-Netherlands", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_AUSTRIA("Country Fund-Austria", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_SPAIN("Country Fund-Spain", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_FRANCE("Country Fund-France", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_SINGAPORE("Country Fund-Singapore", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_MEXICO("Country Fund-Mexico", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_AUSTRALIA("Country Fund-Australia", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_CANADA("Country Fund-Canada", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_SWEDEN("Country Fund-Sweden", IBCategory.EQUITY_FUND),	
	GEO_FOCUS_EQUITY("Geo Focus-Equity", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_ITALY("Country Fund-Italy", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_JAPAN("Country Fund-Japan", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_BELGIUM("Country Fund-Belgium", IBCategory.EQUITY_FUND),	
	GROWTH_LARGE_CAP("Growth-Large Cap", IBCategory.EQUITY_FUND),
	UNDEFINED_EQUITY("Undefined Equity", IBCategory.EQUITY_FUND),
	LEISURE_INDUSTRY("Leisure Industry", IBCategory.EQUITY_FUND),
	EMERGING_MARKET_EQUITY("Emerging Market-Equity", IBCategory.EQUITY_FUND),
	VALUE_LARGE_CAP("Value-Large Cap", IBCategory.EQUITY_FUND),
	GROWTH_SMALL_CAP("Growth-Small Cap", IBCategory.EQUITY_FUND),
	REGION_FUND_EU("Region Fund-EU", IBCategory.EQUITY_FUND),
	VALUE_SMALL_CAP("Value-Small Cap", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_BRAZIL("Country Fund-Brazil", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_KOREA("Country Fund-Korea", IBCategory.EQUITY_FUND),	
	AGGRESSIVE_GROWTH("Aggressive Growth", IBCategory.EQUITY_FUND),
	REGION_FUND_EUROPE_EX_UK("Region Fund-Europe Ex UK", IBCategory.EQUITY_FUND),
	FOOD_AND_BEVERAGE("Food & Beverage", IBCategory.EQUITY_FUND),
	PRECIOUS_METALS("Precious Metals", IBCategory.EQUITY_FUND),
	REGION_FUND_LATIN_AMERICA("Region Fund-Latin Amer", IBCategory.EQUITY_FUND),
	ASIAN_PACIFIC_EX_JAPAN("Asian Pacific Ex Japan", IBCategory.EQUITY_FUND),
	REGION_FUND_ASIAN_PACIFIC("Region Fnd-Asian Pacific", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_CHINA("Country Fund-China", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_INDIA("Country Fund-India", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_RUSSIA("Country Fund-Russia", IBCategory.EQUITY_FUND),
	INCOME_EQUITY("Income Equity", IBCategory.EQUITY_FUND),
	ENVIRONMENTALLY_FRIENDLY("Environmentally Friendly", IBCategory.EQUITY_FUND),
	EASTERN_EUROPEAN("Eastern European", IBCategory.EQUITY_FUND),
	Value("Value", IBCategory.EQUITY_FUND),
	REGION_FUND_NORTH_AMERICA("Region Fund-North Amer", IBCategory.EQUITY_FUND),
	EQUITY_ISLAMIC("Equity/Islamic", IBCategory.EQUITY_FUND),
	CONTRARIAN("Contrarian", IBCategory.EQUITY_FUND),
	REGION_FUND_AFRICAN("Region Fund-African", IBCategory.EQUITY_FUND),
	GAMING_AND_ENTERTAINMENT("Gaming & Entertainment", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_THAILAND("Country Fund-Thailand", IBCategory.EQUITY_FUND),
	REGION_FUND_MIDDLE_EAST("Region Fund-Middle East", IBCategory.EQUITY_FUND),
	REGION_FUND_NORDIC("Region Fund-Nordic", IBCategory.EQUITY_FUND),
	SOCIALLY_RESPONSIBLE("Socially Responsible", IBCategory.EQUITY_FUND),
	REGION_FUND_G8_COUNTRIES("Region Fund-G8 Countries", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_INDONESIA("Country Fund-Indonesia", IBCategory.EQUITY_FUND),
	BLUE_CHIP("Blue Chip", IBCategory.EQUITY_FUND),
	RELIGIOSLY_RESPONSIBLE("Religiosly Responsible", IBCategory.EQUITY_FUND),
	MARKET_NEUTRAL_EQUITY("Market Neutral-Equity", IBCategory.EQUITY_FUND),
	GROWTH_AND_INCOME("Growth & Income", IBCategory.EQUITY_FUND),
	INDEX_FUND("Index Fund", IBCategory.EQUITY_FUND),
	COUNTRY_FUND_PHILIPPINES("Country Fund-Philippines", IBCategory.EQUITY_FUND),
	
	COMMODITY("Commodity", IBCategory.COMMODITY_FUND),
	
	EQUI_DIRECTIONAL_LONG_SHORT("Eq Directional Long/Shor", IBCategory.ALTERNATIVE_INVESTMENT),
	MULTI_STRATEGY_STYLE("Multi-Strat/Style", IBCategory.ALTERNATIVE_INVESTMENT),
	
	CURRENCY("Currency", IBCategory.ASSET_ALLOCATION_FUND),
	BALANCED("Balanced", IBCategory.ASSET_ALLOCATION_FUND),
	FLEXIBLE_PORTFOLIO("Flexible Portfolio", IBCategory.ASSET_ALLOCATION_FUND),
	VARIOUS_ASSETS("Various Assets", IBCategory.ASSET_ALLOCATION_FUND),
	DERIVATIVE_ASSET_ALLOCATION("Derivative-Asset Alloc", IBCategory.ASSET_ALLOCATION_FUND),
	CONVERTIBLE("Convertible", IBCategory.ASSET_ALLOCATION_FUND),
	SECTOR_FUND_ASSET_ALLOCATION("Sector Fund-Asset Alloc", IBCategory.ASSET_ALLOCATION_FUND),
		
	STORAGE_WAREHOUSING("Storage/Warehousing", IBCategory.STORAGE_WAREHOUSING),
	
	AUTO_TRUCK_PARTS_AND_EQUIPMENT_ORIGINAL("Auto/Trk Prts&Equip-Orig", IBCategory.AUTO_PARTS_AND_EQUIPMENT),
	RUBBER_TIRES("Rubber-Tires", IBCategory.AUTO_PARTS_AND_EQUIPMENT),
	AUTO_TRUCK_PARTS_AND_EQUIPMENT_REPLACEMENT("Auto/Trk Prts&Equip-Repl", IBCategory.AUTO_PARTS_AND_EQUIPMENT),
	
	HOME_DECORATION_PRODUCTS("Home Decoration Products", IBCategory.HOUSEWARES),
	HOUSEWARES("Housewares", IBCategory.HOUSEWARES),
	GARDEN_PRODUCTS("Garden Products", IBCategory.HOUSEWARES),
	CRYSTAL_AND_GIFTWARE("Crystal&Giftware", IBCategory.HOUSEWARES),
	
	LEISURE_AND_RECREATIONAL_PRODUCTS("Leisure&Rec Products", IBCategory.LEISURE_TIME),
	CRUISE_LINES("Cruise Lines", IBCategory.LEISURE_TIME),
	GOLF("Golf", IBCategory.LEISURE_TIME),
	MOTORCYCLE_MOTOR_SCOOTER("Motorcycle/Motor Scooter", IBCategory.LEISURE_TIME),
	RECREATIONAL_VEHICLES("Recreational Vehicles", IBCategory.LEISURE_TIME),
	BICYCLE_MANUFACTURING("Bicycle Manufacturing", IBCategory.LEISURE_TIME),
	ATHLETIC_EQUIPMENT("Athletic Equipment", IBCategory.LEISURE_TIME),
	LEISURE_AND_RECREATIONAL_GAMES("Leisure&Rec/Games", IBCategory.LEISURE_TIME),
	RECREATIONAL_CENTERS("Recreational Centers", IBCategory.LEISURE_TIME),
	TRAVEL_SERVICES("Travel Services", IBCategory.LEISURE_TIME),
	
	DISTRIBUTION_WHOLESALE("Distribution/Wholesale", IBCategory.DISTRIBUTION_WHOLESALE),
	IMPORT_EXPORT("Import/Export", IBCategory.DISTRIBUTION_WHOLESALE),
	
	FOOD_CATERING("Food-Catering", IBCategory.FOOD_SERVICE),
	
	HOTELS_AND_MOTELS("Hotels&Motels", IBCategory.LODGING),
	CASINO_HOTELS("Casino Hotels", IBCategory.LODGING),
	
	OFFICE_FURNISHINGS_ORIGINAL("Office Furnishings-Orig", IBCategory.OFFICE_FURNISHINGS),
	
	APPAREL_MANUFACTURERS("Apparel Manufacturers", IBCategory.APPAREL),
	TEXTILE_APPAREL("Textile-Apparel", IBCategory.APPAREL),
	ATHLETIC_FOOTWEAR("Athletic-Footwear", IBCategory.APPAREL),
	FOOTWEAR_AND_RELATED_APPAREL("Footwear&Related Apparel", IBCategory.APPAREL),
	INTIMATE_APPAREL("Intimate Apparel", IBCategory.APPAREL),
	
	AUTO_CARS_LIGHT_TRUCKS("Auto-Cars/Light Trucks", IBCategory.AUTO_MANUFACTURERS),
	AUTO_MEDICAL_AND_HEAVY_DUTY_TRUCKS("Auto-Med&Heavy Duty Trks", IBCategory.AUTO_MANUFACTURERS),
	AUTO_TRUCK_TRAILERS("Auto-Truck Trailers", IBCategory.AUTO_MANUFACTURERS),
	
	HOME_FURNISHINGS("Home Furnishings", IBCategory.HOME_FURNISHINGS),
	APPLIANCES("Appliances", IBCategory.HOME_FURNISHINGS),
	AUDIO_VIDEO_PRODUCTS("Audio/Video Products", IBCategory.HOME_FURNISHINGS),
	
	TEXTILE_PRODUCTS("Textile-Products", IBCategory.TEXTILES),
	LINEN_SUPPLY_AND_REL_ITEMS("Linen Supply&Rel Items", IBCategory.TEXTILES),
	TEXTILE_HOME_FURNISHINGS("Textile-Home Furnishings", IBCategory.TEXTILES),
	WOOL("Wool", IBCategory.TEXTILES),
	TANNERY("Tannery", IBCategory.TEXTILES),
	
	AIRLINES("Airlines", IBCategory.AIRLINES),
	
	GAMBLING_NON_HOTEL("Gambling (Non-Hotel)", IBCategory.ENTERTAINMENT),
	THEATERS("Theaters", IBCategory.ENTERTAINMENT),
	RESORTS_THEME_PARKS("Resorts/Theme Parks", IBCategory.ENTERTAINMENT),
	MOTION_PICTURES_AND_SERVICES("Motion Pictures&Services", IBCategory.ENTERTAINMENT),
	RACETRACKS("Racetracks", IBCategory.ENTERTAINMENT),
	CASINO_SERVICES("Casino Services", IBCategory.ENTERTAINMENT),
	PROFESSIONAL_SPORTS("Professional Sports", IBCategory.ENTERTAINMENT),
	INTERNET_GAMBLING("Internet Gambling", IBCategory.ENTERTAINMENT),
	MUSIC("Music", IBCategory.ENTERTAINMENT),
	NIGHT_CLUBS("Night Clubs", IBCategory.ENTERTAINMENT),
	LOTTERY_SERVICES("Lottery Services", IBCategory.ENTERTAINMENT),
	
//	continue with Consumer, Cyclical -> Retail -> Retail
	
	VENTURE_CAPITAL("Venture Capital", IBCategory.PRIVATE_EQUITY),
	PRIVATE_EQUITY("Private Equity", IBCategory.PRIVATE_EQUITY)
	
	
	
	
	
	;

	/**
	 * private IBIndustry category;<br/>
	 * the category(IBCategory) this IBCategory belongs to
	 */
	private IBCategory category;
	/**
	 * private String value;
	 */
	private String value;
	/**
	 * constructs an IBCategory enum with the given value(String) and category(IBCategory)
	 * @param value
	 * @param category
	 */
	IBSubCategory(String value, IBCategory category) {
		this.value = value;
		this.category = category;
	}
	
	public String toString() {
		return value;
	}
	/**
	 * Returns the IBCategory enum whose value(String) matches the given value(String).
	 * Throws an IllegalArgumentException if it can't find such enum
	 * @param value
	 * @return
	 */
	public static IBSubCategory toClass(String value) {
		for(IBSubCategory symbol: values()) {
			if(symbol.toString().equals(value)) {
				return symbol;
			}
		}
		throw new IllegalArgumentException("Value '"+value+"' not defined as constant.");
	}
	/**
	 * returns the associated value(String)
	 * @return
	 */
	public String getValue() {
		return value;
	}
	/**
	 * returns the associated category(IBCategory)<br/>
	 * this is the category in which this subcategory belongs
	 * @return
	 */
	public IBCategory getIndustry() {
		return category;
	}
	
}
